package com.itheima.service;

import com.itheima.service.impl.UserServiceImpl;

public class UserServiceFactory02 {
    public UserService getService(){
        System.out.println("实例factory运行了");
        return  new UserServiceImpl();
    }
}
